

import config from '@/utils/conf'

const actionList = config.actionList.map((item,i) => {
    return {value: i + 1 , label: item}
})

export const toolData = [
    {el: 'select', label: '行为', model: 'action', options: actionList},
    {el: 'date-picker', label: '操作时间', model: 'searchDate', type: 'daterange'},
    {el: 'input', label: '操作人', model: 'user_name'},
    {el: 'input', label: '操作人ID', model: 'user_id'}
]

